import { reactive } from "./reactive";
import { effect } from "./effect";
const obj = { name: "nine", age: 25 };

// 同一普通对象重复代理
const state = reactive(obj);
effect(() => {
  state.age++;
  effect(() => {
    const name = state.name;
  });
});
